feat: add comprehensive GitHub Copilot configuration - #33
Merged
Conversation
Add a complete Copilot configuration for regorus with layered architecture: instructions, knowledge files, skills, role-based agents, and CI validation. ## Instructions (auto-loaded) - copilot-instructions.md: lean 5KB orientation with knowledge file references - copilot-code-review-instructions.md: "think freely" review guide with severity categories and domain-specific context (Undefined, FFI, telemetry) ## Knowledge Files (20 files, ~70KB) Deep institutional knowledge organized by subsystem: - Core: value-semantics, engine-api, error-handling-migration - Execution: interpreter-architecture, rvm-architecture, compilation-pipeline - Rego: rego-semantics, rego-compiler, builtin-system - Azure: azure-policy-language, azure-policy-aliases, azure-rbac-language - Safety: policy-evaluation-security, ffi-boundary, feature-composition - Diagnostics: telemetry-and-diagnostics, causality-and-partial-eval - Extensibility: language-extension-guide, tooling-architecture, time-builtins-compat ## Agents (16 role-based personas) Each agent brings a distinct thinking mode for review and planning: - Core engineering: red-teamer, semantics-expert, architect, performance-engineer - Quality: test-engineer, verification-engineer, security-auditor - Operations: reliability-engineer, support-engineer, ci-engineer - Evolution: refactorer, api-steward - Product: program-manager, demo-engineer, dx-engineer - Leadership: tech-lead (with 9 constitutional rules and cross-agent synthesis) ## Skills (6 task workflows) - thorough-review: multi-agent parallel review with cross-agent context protocol - design-alternatives: multi-approach evaluation against 9 dimensions - add-builtin, opa-conformance, security-review, verification ## CI & Infrastructure - copilot-setup-steps.yml: Rust 1.92.0 + clippy + rustfmt + cargo cache - copilot-config-validation.yml: YAML syntax, reference checking, staleness detection ## Architecture Documentation - docs/copilot-architecture.md: how all layers connect, extension guide Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
- Add 'Review Perspectives' section to copilot-code-review-instructions.md that inlines key thinking modes from all 10 relevant agents so the single-pass GitHub PR reviewer adopts multiple roles automatically - Fix copilot-config-validation.yml grep pattern to only match knowledge file references in the table (not docs/rvm/*.md references) Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Merge Copilot configuration into main to enable testing.